/**
 * 官网 https://quasar.dev/
 * 安装基础依赖 pnpm add quasar
 */

import 'quasar/dist/quasar.css'
import quasarLang from 'quasar/lang/zh-CN'
import { Quasar, Dialog, Notify } from 'quasar'

Notify.setDefaults({
  position: 'top',
  timeout: 2500,
  textColor: 'white'
})

export default {
  install (app) {
    app.use(Quasar, {
      plugins: {
        Dialog,
        Notify
      }, // import Quasar plugins and add here
      lang: quasarLang,
      /*
      config: {
        brand: {
          // primary: '#e46262',
          // ... or all other brand colors
        },
        notify: {...}, // default set of options for Notify Quasar plugin
        loading: {...}, // default set of options for Loading Quasar plugin
        loadingBar: { ... }, // settings for LoadingBar Quasar plugin
        // ..and many more (check Installation card on each Quasar component/directive/plugin)
      }
      */
    })
  }
}
